package com.lsh.oms.api.model.order;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 返仓单头DTO
 * Created by huangdong on 16/8/1.
 */
public class OrderReturnHeadDTO implements Serializable {

    private static final long serialVersionUID = -4461735504063553394L;

    /**
     * ID
     */
    private Long id;

    /**
     * 返仓单号
     */
    private Long roCode;

    /**
     * 发货单号
     */
    private Long doCode;

    /**
     * 订单号
     */
    private Long orderCode;

    /**
     * 返仓单类型
     */
    private Integer roType;

    /**
     * 返仓单状态
     */
    private Integer roStatus;

    /**
     * 返仓类型
     */
    private Integer returnType;

    /**
     * 客户编码
     */
    private Long customerCode;

    /**
     * 收货地址编码
     */
    private Long addressCode;

    /**
     * 区域编码
     */
    private Integer regionCode;

    /**
     * 省
     */
    private Integer province;

    /**
     * 市
     */
    private Integer city;

    /**
     * 区
     */
    private Integer district;

    /**
     * 片区
     */
    private Integer area;

    /**
     * 收货人信息
     */
    private String consigneeInfo;

    /**
     * 仓库编码
     */
    private String warehouseCode;

    /**
     * 仓库名称
     */
    private String warehouseName;

    /**
     * 商品总数量
     */
    private BigDecimal goodsQuantity;

    /**
     * 返仓金额
     */
    private BigDecimal returnAmount;

    /**
     * 返仓时间
     */
    private Integer returnTime;

    /**
     * 仓储类型
     */
    private Integer storageType;

    /**
     * 创建时间
     */
    private Integer createTime;

    /**
     * 更新时间
     */
    private Integer updateTime;

    /**
     * 是否有效（0:无效；1:有效）
     */
    private Integer valid;

    private List<OrderReturnDetailDTO> details;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRoCode() {
        return roCode;
    }

    public void setRoCode(Long roCode) {
        this.roCode = roCode;
    }

    public Long getDoCode() {
        return doCode;
    }

    public void setDoCode(Long doCode) {
        this.doCode = doCode;
    }

    public Long getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(Long orderCode) {
        this.orderCode = orderCode;
    }

    public Integer getRoType() {
        return roType;
    }

    public void setRoType(Integer roType) {
        this.roType = roType;
    }

    public Integer getRoStatus() {
        return roStatus;
    }

    public void setRoStatus(Integer roStatus) {
        this.roStatus = roStatus;
    }

    public Integer getReturnType() {
        return returnType;
    }

    public void setReturnType(Integer returnType) {
        this.returnType = returnType;
    }

    public Long getCustomerCode() {
        return customerCode;
    }

    public void setCustomerCode(Long customerCode) {
        this.customerCode = customerCode;
    }

    public Long getAddressCode() {
        return addressCode;
    }

    public void setAddressCode(Long addressCode) {
        this.addressCode = addressCode;
    }

    public Integer getRegionCode() {
        return regionCode;
    }

    public void setRegionCode(Integer regionCode) {
        this.regionCode = regionCode;
    }

    public Integer getProvince() {
        return province;
    }

    public void setProvince(Integer province) {
        this.province = province;
    }

    public Integer getCity() {
        return city;
    }

    public void setCity(Integer city) {
        this.city = city;
    }

    public Integer getDistrict() {
        return district;
    }

    public void setDistrict(Integer district) {
        this.district = district;
    }

    public Integer getArea() {
        return area;
    }

    public void setArea(Integer area) {
        this.area = area;
    }

    public String getConsigneeInfo() {
        return consigneeInfo;
    }

    public void setConsigneeInfo(String consigneeInfo) {
        this.consigneeInfo = consigneeInfo;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public BigDecimal getGoodsQuantity() {
        return goodsQuantity;
    }

    public void setGoodsQuantity(BigDecimal goodsQuantity) {
        this.goodsQuantity = goodsQuantity;
    }

    public BigDecimal getReturnAmount() {
        return returnAmount;
    }

    public void setReturnAmount(BigDecimal returnAmount) {
        this.returnAmount = returnAmount;
    }

    public Integer getReturnTime() {
        return returnTime;
    }

    public void setReturnTime(Integer returnTime) {
        this.returnTime = returnTime;
    }

    public Integer getStorageType() {
        return storageType;
    }

    public void setStorageType(Integer storageType) {
        this.storageType = storageType;
    }

    public Integer getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }

    public Integer getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

    public List<OrderReturnDetailDTO> getDetails() {
        return details;
    }

    public void setDetails(List<OrderReturnDetailDTO> details) {
        this.details = details;
    }
}
